package com.aijk.ehm.api;

import com.aijk.commons.exception.ErrorCodeException;
import com.aijk.ehm.model.SemWeight;
import com.aijk.ehm.model.qo.SemWeightQo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 体重
 */
public interface SemWeightApi {
    Long save(SemWeight bean) throws ErrorCodeException;

    void update(SemWeight bean) throws ErrorCodeException;

    SemWeight findOne(Long id) throws ErrorCodeException;

    List<SemWeight> list(SemWeightQo qo);

    void deleteById(Long id) throws ErrorCodeException;

    int count(SemWeightQo qo);

    PageInfo<SemWeight> page(SemWeightQo qo);
}